package com.tourism.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 产品图片对象 product_image
 * 
 * @author silenceEcho
 * @date 2025-04-13
 */
public class ProductImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long imageId;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String imageName;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imageUrl;

    /** 图片分组 */
    @Excel(name = "图片分组")
    private String group;

    /** 关联产品id */
    @Excel(name = "关联产品id")
    private Long productId;

    /** 图片的排序顺序 */
    private Long orderBy;

    /** 逻辑删除 */
    private Long delete;

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }

    public void setImageName(String imageName) 
    {
        this.imageName = imageName;
    }

    public String getImageName() 
    {
        return imageName;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setGroup(String group) 
    {
        this.group = group;
    }

    public String getGroup() 
    {
        return group;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setOrderBy(Long orderBy) 
    {
        this.orderBy = orderBy;
    }

    public Long getOrderBy() 
    {
        return orderBy;
    }

    public void setDelete(Long delete) 
    {
        this.delete = delete;
    }

    public Long getDelete() 
    {
        return delete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("imageName", getImageName())
            .append("imageUrl", getImageUrl())
            .append("group", getGroup())
            .append("productId", getProductId())
            .append("orderBy", getOrderBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delete", getDelete())
            .toString();
    }
}
